import $ from 'jquery'

import Vue from 'vue'
//导入muui
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'
//导入路由
import VueRouter from 'vue-router'
Vue.use(VueRouter)
import router from './router.js'

//导入vue-resource
import VueResource from 'vue-resource'
Vue.use(VueResource)


//导入mint-ui
import { Header,Swipe, SwipeItem } from 'mint-ui';
//轮播图
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

Vue.component(Header.name, Header);

import app from './app.vue'



var vm = new Vue({
    el: '#app',
    render: c=> c(app),
    router
})